<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/10
 * Time: 14:12
 */

namespace app\api\validate;

class IDMustBePostiveInt extends BaseValidate
{
    protected $message = [
        'id'=>"id必须是正整数ok?",
        ];
    protected $rule = [
       'id' => 'require|isPositiveIntger',
        'num'=>'in:1,2,3,4,5'
    ];
}